/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package TransportLayer;

import java.net.InetAddress;

/**
 *
 * @author Tomasz Nowak
 */
public class NotaryRequestPacket extends NotaryPacket
{
	NotaryRequest notaryRequest;

	public NotaryRequest getNotaryRequest()
	{
		return notaryRequest;
	}

	public void setNotaryRequest( NotaryRequest notaryRequest )
	{
		this.notaryRequest = notaryRequest;
	}

	public NotaryRequestPacket( NotaryRequest notaryRequest, InetAddress sourceAddress, int sourcePort )
	{
		super(sourceAddress, sourcePort);
		this.notaryRequest = notaryRequest;
	}
}
